package main.java.study.step02;

/**
 * @author liuwenxiu
 * @Description:
 * @date 2022-7-13 19:19
 */
public class FinalMethodDemo {
    public final void test(){
        
    }
}
//class Test extends FinalMethodDemo{
//    @Override
//    public void test(){
//        // error - 'test()' cannot override 'test()' in 'main.java.study.step02.FinalMethodDemo'; overridden method is final
//    }
//}
